package com.czl.lunt.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;
@Data
@Schema(description = "回帖表")

public class ArticleReply {
    private Long id;
    @Schema(description = "帖子id")
    private Long articleId;
    @Schema(description = "发送人")
    private Long postUserId;

    //楼中楼功能
    private Long replyId;

    //楼中楼功能
    private Long replyUserId;
    @Schema(description = "回复内容")
    private String content;
    @Schema(description = "回复点赞量")
    private Integer likeCount;
    @Schema(description = "状态")
    private Byte state;
    @Schema(description = "逻辑删除")
    private Byte deleteState;

    private Date createTime;

    private Date updateTime;

    //关联表
    private User user;

}